﻿
using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MVVMLightDemo.Models
{
    public class Fruit:ObservableObject
    {
        private string name;

        public string Name
        {
            get { return name; }
            set
            {
                name = value;
                this.RaisePropertyChanged("Name");
            }
        }

        private string category;

        public string Category
        {
            get { return category; }
            set
            {
                category = value;
                this.RaisePropertyChanged("Category");
            }
        }

        private string price;

        public string Price
        {
            get { return price; }
            set
            {
                price = value;
                this.RaisePropertyChanged("Price");
            }
        }


    }
}
